package com.ygqh.baby.model.wdt.qyb;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class WdtSyncLogistics {

	/**
	 * 主键,用于logistics_sync_ack回写状态
	 */
	@JSONField(name = "rec_id")
	private int recId;

	/**
	 * 店铺编号，依此对应店铺名称
	 */
	@JSONField(name = "shop_no")
	private String shopNo;

	/**
	 * 原始订单编号
	 */
	@JSONField(name = "tid")
	private String tid;

	/**
	 * 物流单号，即快递单号
	 */
	@JSONField(name = "logistics_no")
	private String logisticsNo;

	/**
	 * 物流方式
	 */
	@JSONField(name = "logistics_type")
	private int logisticsType;

	/**
	 * 1款到发货 2货到付款(包含部分货到付款) 3分期付款
	 */
	@JSONField(name = "delivery_term")
	private String deliveryTerm;

	/**
	 * 发货时间
	 */
	@JSONField(name = "consign_time")
	private Date consignTime;

	/**
	 * 卖家姓名
	 */
	@JSONField(name = "contact")
	private String contact;

	/**
	 * 卖家手机号
	 */
	@JSONField(name = "mobile")
	private String mobile;

	/**
	 * 卖家电话
	 */
	@JSONField(name = "telon")
	private String telon;

	/**
	 * 卖家地址
	 */
	@JSONField(name = "address")
	private String address;

	/**
	 * 是否拆分发货,1:拆单发货,0:不进行拆单发货
	 */
	@JSONField(name = "is_part_sync")
	private int isPartSync;

	/**
	 * 子订单编号串，以逗号(,) 分隔,并且长度不固定(is_part_sync非0时才有效)
	 */
	@JSONField(name = "oids")
	private String oids;

	/**
	 * 平台ID
	 */
	@JSONField(name = "platform_id")
	private String platformId;

	/**
	 * 订单ID
	 */
	@JSONField(name = "trade_id")
	private String tradeId;

	/**
	 * erp对应的编号
	 */
	@JSONField(name = "logistics_code_erp")
	private String logisticsCodeErp;

	/**
	 * erp对应的物流公司名称
	 */
	@JSONField(name = "logistics_name_erp")
	private String logisticsNameErp;

	/**
	 * 物流公司名称
	 */
	@JSONField(name = "logistics_name")
	private String logisticsName;
	
	//=================
	
	private String kidsOids;
	
	private Date createTime;
	private Date updateTime;
	
	

	public String getKidsOids() {
		return kidsOids;
	}

	public void setKidsOids(String kidsOids) {
		this.kidsOids = kidsOids;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getRecId() {
		return recId;
	}

	public void setRecId(int recId) {
		this.recId = recId;
	}

	public String getShopNo() {
		return shopNo;
	}

	public void setShopNo(String shopNo) {
		this.shopNo = shopNo;
	}

	public String getTid() {
		return tid;
	}

	public void setTid(String tid) {
		this.tid = tid;
	}

	public String getLogisticsNo() {
		return logisticsNo;
	}

	public void setLogisticsNo(String logisticsNo) {
		this.logisticsNo = logisticsNo;
	}

	public int getLogisticsType() {
		return logisticsType;
	}

	public void setLogisticsType(int logisticsType) {
		this.logisticsType = logisticsType;
	}

	public String getDeliveryTerm() {
		return deliveryTerm;
	}

	public void setDeliveryTerm(String deliveryTerm) {
		this.deliveryTerm = deliveryTerm;
	}

	public Date getConsignTime() {
		return consignTime;
	}

	public void setConsignTime(Date consignTime) {
		this.consignTime = consignTime;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getTelon() {
		return telon;
	}

	public void setTelon(String telon) {
		this.telon = telon;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getIsPartSync() {
		return isPartSync;
	}

	public void setIsPartSync(int isPartSync) {
		this.isPartSync = isPartSync;
	}

	public String getOids() {
		return oids;
	}

	public void setOids(String oids) {
		this.oids = oids;
	}

	public String getPlatformId() {
		return platformId;
	}

	public void setPlatformId(String platformId) {
		this.platformId = platformId;
	}

	public String getTradeId() {
		return tradeId;
	}

	public void setTradeId(String tradeId) {
		this.tradeId = tradeId;
	}

	public String getLogisticsCodeErp() {
		return logisticsCodeErp;
	}

	public void setLogisticsCodeErp(String logisticsCodeErp) {
		this.logisticsCodeErp = logisticsCodeErp;
	}

	public String getLogisticsNameErp() {
		return logisticsNameErp;
	}

	public void setLogisticsNameErp(String logisticsNameErp) {
		this.logisticsNameErp = logisticsNameErp;
	}

	public String getLogisticsName() {
		return logisticsName;
	}

	public void setLogisticsName(String logisticsName) {
		this.logisticsName = logisticsName;
	}

	@Override
	public String toString() {
		return "WdtSyncLogistics [recId=" + recId + ", shopNo=" + shopNo + ", tid=" + tid + ", logisticsNo=" + logisticsNo + ", logisticsType=" + logisticsType
				+ ", deliveryTerm=" + deliveryTerm + ", consignTime=" + consignTime + ", contact=" + contact + ", mobile=" + mobile + ", telon=" + telon
				+ ", address=" + address + ", isPartSync=" + isPartSync + ", oids=" + oids + ", platformId=" + platformId + ", tradeId=" + tradeId
				+ ", logisticsCodeErp=" + logisticsCodeErp + ", logisticsNameErp=" + logisticsNameErp + ", logisticsName=" + logisticsName + "]";
	}

}
